//公共样式
* {
  box-sizing: border-box;
}

html {
  //overflow: hidden;
}

body {
  margin: 0;
  // font-family: "思源黑体 Medium";
}

.el-button.is-link:focus {
  color: #409eff;
}

/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
// @font-face {
//   font-family: "思源黑体 Medium";
//   font-weight: 500;
//   src: url(/SourceHanSansSC-Regular-2.otf);
//   font-display: swap;
// }
// 自定义tab切换样式
/* 修改 tooltip 背景色 */
.el-popper.is-dark {
  // background: #fff !important;
  color: #fff;
  // border: none;
}

.el-tree {
  background-color: transparent;
}

/* 如果需要同时修改箭头颜色 */
.el-popper.is-dark .el-popper__arrow::before {
  // background: #fff !important;
}

.listInfoBtn {
  white-space: nowrap;
  background-color: rgba(91, 109, 128, 0.08);
  color: rgba(62, 70, 79, 1);
  border-radius: 2px;
  padding: 4px 16px 4px 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  margin-left: 12px;
  cursor: pointer;

  &.active {
    background: rgba(68, 136, 255, 0.08);
    color: rgba(68, 136, 255, 1);
  }

  .svg-icon {
    margin-right: 8px;

    &.active {
      fill: rgba(68, 136, 255, 1) !important;
    }
  }
}

.tabBoxchartTable {
  margin-bottom: 10px;

  span {
    display: inline-block;
    text-align: center;
    font-size: 14px;
    padding: 4px 10px;
    background-color: rgba(91, 109, 128, 0.08);
    min-width: 104px;

    &.bg {
      background-color: rgba(68, 136, 255, 1);
      color: #fff;
    }
  }
}

.tabdiyBox {
  font-size: 14px;
  display: flex;

  span {
    cursor: pointer;
    display: inline-block;
    background-color: rgba(91, 109, 128, 0.08);
    color: rgba(62, 70, 79, 1);
    min-width: 104px;
    padding: 4px 4px;
    text-align: center;
    border-radius: 2px;
    white-space: nowrap;

    &.active {
      background-color: rgba(68, 136, 255, 1);
      color: #fff;
    }
  }
}

// 自定义按钮样式
.btnSpanList {
  font-size: 14px;
  display: flex;

  .btnSpan {
    display: inline-block;
    background-color: rgba(91, 109, 128, 0.08);
    color: rgba(62, 70, 79, 1);
    padding: 4px 16px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
  }
}

.form_footer {
  position: sticky;
  bottom: 0px;
  width: 100%;
  // background-color: #fff;
  padding: 16px;
  z-index: 10;
}

img {
  display: inline-block;
  max-width: 100%;
}

.nodataClass {
  text-align: center;
  font-size: 14px;

  p {
    margin: 0;
    padding: 0;
  }
}

.img_box {
  img {
    display: inline-block;
    max-width: 100%;
  }
}

.el-overlay {
  background-color: transparent;
}

.chaolink {
  color: rgba(64, 158, 255, 1);
  border-bottom: 1px solid rgba(64, 158, 255, 1);
}

.formLabel {
  display: flex;
  align-items: center;
  font-size: 16px;

  span {
    white-space: nowrap;
    margin-right: 10px;
  }
}

label,
.el-form-item__label {
  color: #333;
  font-weight: 500 !important;
}

.el-drawer.ltr,
.el-drawer.rtl {
  top: 114px;
  height: calc(100% - 154px) !important;
  border-radius: 8px 0 0 8px;
}

.w70 {
  width: 70%;
}

.fw700 {
  font-weight: 700;
}

.pfz {
  font-size: 14px;
  font-weight: 700;
}

.hover {
  cursor: pointer;
}

.pagestyle {
  width: 100%;
  // width: var(--base-width);
  height: calc(100%);
  padding: 12px 12px 0;
}

.inputrange {
  background: rgba(91, 109, 128, 0.08);

  ::v-deep .el-input__wrapper {
    box-shadow: none;
    background: rgba(91, 109, 128, 0.0);
  }
}

.el-textarea__inner,
.el-input__wrapper {
  box-shadow: none;
  background: rgba(91, 109, 128, 0.08);
}

.wn {
  white-space: nowrap;
  margin-right: 5px;
}

.mask_title {
  font-size: 16px;
  color: rgba(62, 70, 79, 1);
  font-weight: 700;
}

.mask_sub_title {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 700;

  span {
    margin-left: 10px;
  }
}

.drawer_sub_title {
  margin: 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(62, 70, 79, 1) !important;

  span {
    padding-left: 10px;

    &.sub_title_line {
      position: relative;

      &::before {
        position: absolute;
        content: '';
        height: 14px;
        width: 4px;
        background-color: rgba(64, 158, 255, 1);
        top: 50%;
        left: 0;
        transform: translateY(-50%);
      }

    }
  }
}

.el-drawer__header {
  background: linear-gradient(180deg, rgba(240, 246, 255, 1) 0%, rgba(241, 247, 250, 0.96) 100%);
  margin-bottom: 0px;
}

.el-drawer__body {
  position: relative;

  .form_footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}

// 公用样式抽屉
.el-drawer_mash,
.el-drawer {
  .el-row {
    .el-col {
      p {

        padding: 0;
        margin: 0;

        &:nth-child(1) {
          font-size: 14px;
          padding-bottom: 6px;
          color: rgba(62, 70, 79, 0.6);
        }

        &:nth-child(2) {
          font-size: 16px;
          margin-bottom: 20px;
        }
      }
    }
  }
}

.marl40 {
  margin-left: 40px;
}

.marl20 {
  margin-left: 20px;
}

.marr5 {
  margin-right: 5px;
}


.form_box {
  padding: 16px;
}

.titles {
  font-size: 16px;
  font-weight: 700;
}

:root {
  --base-c_bottom-background: linear-gradient(135deg, rgba(242, 249, 255, 1) 0%, rgba(240, 240, 251, 1) 33.12%, rgba(218, 230, 251, 1) 63.89%, rgba(207, 225, 253, 1) 100%);
  --base-width: 100%;
  --dark-bg: rgba(240, 243, 245, 1);
}

.vxe-modal--header {
  color: #000 !important;
  padding: 0 !important;
  height: 43px !important;
  border-bottom: none !important;
  background: linear-gradient(90deg, rgba(64, 158, 255, 0.4) 0%, rgba(64, 158, 255, 0.1) 100%) !important;
}

//若依框架背景
// .navbar {
//   background: #162440 !important;
// }
// .sidebar-logo-container {
//   background: #162440 !important;
// }
.c_bottom {
  // background: var(--base-c_bottom-background);
  width: 100%;
  height: 30px;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  color: #97a8be;
}

.navbar .right-menu .right-menu-item {
  color: white !important;
}

// .el-menu, .el-sub-menu__title {
//   background: #162440 !important;
// }
// #app .sidebar-container .theme-dark .el-sub-menu .el-menu-item {
//   background: #162440 !important;
// }
#app .sidebar-container {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

body {
  >.vxe-modal--wrapper {
    .vxe-modal--content {
      padding: 0 !important;
    }

    .vxe-modal--box {
      //background: #162336 !important;
      border: none !important;
    }



    .vxe-modal--header-title {
      padding: 9px;
      // background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.7) 100%);
    }

    .vxe-modal--header-right {
      background: rgba(255, 255, 255, 0.7);
      padding: 9px;
    }

    .vxe-modal--close-btn {
      color: rgba(62, 70, 79, 1) !important;
    }
  }
}

.directive-toolTips {
  background: rgba(255, 255, 255, 0.3);
  position: relative;

  &:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: white;
    content: attr(data-text);
    z-index: 100;
  }
}

.liandong {
  .el-tabs__nav-prev {
    display: none;
  }

  .el-tabs__nav-next {
    display: none;
  }

  .el-tabs__nav.is-top {
    transform: translateX(0) !important;
  }

  .notscroll {
    .el-tabs__nav-scroll {
      overflow: hidden;
    }
  }

  .el-tabs__nav-scroll {
    overflow-y: hidden;
    overflow-x: auto;
  }

  .el-tabs__nav-wrap.is-scrollable {
    padding: 0 !important;
  }

  .el-tabs__nav-scroll::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 8px;
  }

  .el-tabs__nav-scroll::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #C7C9CC;
  }

  .el-tabs__nav-scroll::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #ffffff;
  }
}

.el-menu-item {
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 200px;
  // padding-right: 26px !important;
}

.el-sub-menu__title {
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
  padding-right: 26px !important;

  span {
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.thinscroll::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 8px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 8px;
}

.thinscroll::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #C7C9CC;
}

.thinscroll::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: rgba(225, 232, 251, 0.9);
}

.scrollbar-wrapper.el-scrollbar__wrap.el-scrollbar__wrap--hidden-default {
  // background:var(--base-c_bottom-background) !important;
}

.kongzhi {
  .pagestyle {
    height: 100% !important;
  }
}

// el-button el-button--primary1 el-button--default is-disabled
.el-button--primary1 {
  background-color: rgba(0, 186, 173, 1) !important;
  color: #fff !important;
}

.el-button--primary1.is-disabled {
  background-color: rgba(0, 186, 173, .6) !important;
  color: #fff !important;
}